#pragma once
#include "user.hpp"
#include <vector>

/////////////////////////////////////////////////////////////////////////////////////////////
/*

    FriendModel是一个管理好友的操作接口类
    
*/
class FriendModel
{
public:
    /*············································

                    添加好友
    
    ············································*/
    void Insert(int userid, int friendid);
    /*············································

                    返回好友列表
    
    ············································*/
    std::vector<User> Query(int userid);    
};